package com.wing.dict.model.response;

import com.wing.dict.model.entity.DictLabel;
import lombok.Data;

@Data
public class DictVO {
    private String label;

    private String value;

    public DictVO() {
    }

    public DictVO(DictLabel dict) {
        this.label = dict.getLabelName();
        this.value = dict.getLabelValue();
    }
}
